package com.caipos.actor.common.data.device.profile;


import com.caipos.actor.common.data.alarm.AlarmSeverity;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.TreeMap;

@Data
public class DeviceProfileAlarm implements Serializable {

    private String id;
    private String alarmType;

    private TreeMap<AlarmSeverity, AlarmRule> createRules;
    private AlarmRule clearRule;

    // Hidden in advanced settings
    private boolean propagate;
    private boolean propagateToOwner;
    private boolean propagateToTenant;

    private List<String> propagateRelationTypes;

}
